<%@page import="com.face.operate.jsu.Face_Operate"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"
import ="java.io.*"
%>
<%
	String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
  </head>

  <body>
 <%
 	String Adress="E:\\photo\\upload";
  File f=new File(Adress);
  System.out.println(f.exists());
  File[] files=f.listFiles();
  System.out.println(files.length);
  int len=files.length;
 %> 
<script type="text/javascript">
var x=<%=len%>;
    for (var i=1;i<=x;i++)
    {
		 document.write("<img src=" + "/upload/" +i+".jpg" + "   width=360 height=360 />");
    }
    document.close();

</script>
<%=Face_Operate.getConfidence()%>
  </body>
</html>